/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconWallet: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M928 800a96 96 0 0 1-96 96H192a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v32h32a96 96 0 0 1 95.84 90.368L928 384z m-96-448H160v448a32 32 0 0 0 32 32h640a32 32 0 0 0 32-32v-96h-112a112 112 0 0 1-111.84-105.856L640 592a112 112 0 0 1 112-112H864v-96a32 32 0 0 0-28.256-31.776L832 352z m32 192h-112a48 48 0 0 0-47.776 43.392L704 592a48 48 0 0 0 48 48H864v-96zM704 224H192a32 32 0 0 0-32 32v32h576V256a32 32 0 0 0-28.256-31.776L704 224z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconWallet.defaultProps = {
  size: 18,
};

export default IconWallet;
